/**
 * 
 */
package com.gf.pf.model;

import java.io.Serializable;

/**
 * @description Ztree树
 * @date   Mar 10, 2015
 */
public class Ztree implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -6127373748566314513L;

	/**
	 * 节点ID
	 */
	private String id;
	
	/**
	 * 父节点ID
	 */
	private String pId;
	
	/**
	 * 节点名称
	 */
	private String name;

	/**
	 * @return the id
	 */
	public String getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(String id) {
		this.id = id;
	}

	/**
	 * @return the pId
	 */
	public String getPId() {
		return pId;
	}

	/**
	 * @param pId the pId to set
	 */
	public void setPId(String pId) {
		this.pId = pId;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "Ztree [id=" + id + ", pid=" + pId + ", name=" + name + "]";
	}
	
}
